home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc / OpenDoc Development / Debugging Support / OpenDoc™ Source Code / Utilities / Printer.r < prev    next >
Encoding:
Text File  |  1996-08-28  |  1.4 KB  |  86 lines  |  [TEXT/MPS ]

  1. /*
  2.     File:        Printer.r
  3.  
  4.     Contains:    Resources used by the OpenDoc printing utilities.
  5.  
  6.     Owned by:    Jens Alfke
  7.  
  8.     Copyright:    © 1995 - 1996 by Apple Computer, Inc., all rights reserved.
  9.  
  10.     Change History (most recent first):
  11.  
  12.          <2>      2/2/96    JA        Filled in header comments.
  13.          <1>      2/2/96    JA        first checked in
  14.  
  15.     To Do:
  16. */
  17.  
  18.  
  19. resource 'DITL' (32000) {
  20.     {    /* array DITLarray: 4 elements */
  21.         /* [1] */
  22.         {170, 262, 190, 320},
  23.         Button {
  24.             enabled,
  25.             "OK"
  26.         },
  27.         /* [2] */
  28.         {13, 14, 45, 46},
  29.         Icon {
  30.             disabled,
  31.             0
  32.         },
  33.         /* [3] */
  34.         {13, 61, 150, 316},
  35.         StaticText {
  36.             disabled,
  37.             "^0"
  38.         },
  39.         /* [4] */
  40.         {172, 61, 188, 136},
  41.         StaticText {
  42.             disabled,
  43.             "^1"
  44.         }
  45.     }
  46. };
  47.  
  48. resource 'STR#' (32000, "printer error messages") {
  49.     {    /* array StringArray: 2 elements */
  50.         /* [1] */
  51.         "A printer error has occurred. Make sure "
  52.         "the printer is turned on, the printer ha"
  53.         "s paper, and that there isn't a paper ja"
  54.         "m.",
  55.         /* [2] */
  56.         "A printer has not been selected yet. Ple"
  57.         "ase open the Chooser and select the prin"
  58.         "ter you wish to print to."
  59.     }
  60. };
  61.  
  62. resource 'STR#' (32001, "Dialog Menu Item Strings") {
  63.     {    /* array StringArray: 2 elements */
  64.         /* [1] */
  65.         "Undo",
  66.         /* [2] */
  67.         "Redo"
  68.     }
  69. };
  70.  
  71. resource 'ALRT' (32000, "Printing Error") {
  72.     {40, 40, 245, 381},
  73.     32000,
  74.     {    /* array: 4 elements */
  75.         /* [1] */
  76.         OK, visible, sound1,
  77.         /* [2] */
  78.         OK, visible, sound1,
  79.         /* [3] */
  80.         OK, visible, sound1,
  81.         /* [4] */
  82.         OK, visible, sound1
  83.     },
  84.     alertPositionParentWindowScreen
  85. };
  86.